Optimal. Leaf size=57 \[ -\frac {3 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )}{b^{5/2}}+\frac {x^{3/2}}{b (a-b x)}+\frac {3 \sqrt {x}}{b^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {47, 50, 63, 208} \begin {gather*} -\frac {3 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )}{b^{5/2}}+\frac {x^{3/2}}{b (a-b x)}+\frac {3 \sqrt {x}}{b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 50
Rule 63
Rule 208
Rubi steps
\begin {align*} \int \frac {x^{3/2}}{(-a+b x)^2} \, dx &=\frac {x^{3/2}}{b (a-b x)}+\frac {3 \int \frac {\sqrt {x}}{-a+b x} \, dx}{2 b}\\ &=\frac {3 \sqrt {x}}{b^2}+\frac {x^{3/2}}{b (a-b x)}+\frac {(3 a) \int \frac {1}{\sqrt {x} (-a+b x)} \, dx}{2 b^2}\\ &=\frac {3 \sqrt {x}}{b^2}+\frac {x^{3/2}}{b (a-b x)}+\frac {(3 a) \operatorname {Subst}\left (\int \frac {1}{-a+b x^2} \, dx,x,\sqrt {x}\right )}{b^2}\\ &=\frac {3 \sqrt {x}}{b^2}+\frac {x^{3/2}}{b (a-b x)}-\frac {3 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )}{b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.00, size = 26, normalized size = 0.46 \begin {gather*} \frac {2 x^{5/2} \, _2F_1\left (2,\frac {5}{2};\frac {7}{2};\frac {b x}{a}\right )}{5 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.06, size = 56, normalized size = 0.98 \begin {gather*} \frac {\sqrt {x} (2 b x-3 a)}{b^2 (b x-a)}-\frac {3 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )}{b^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 138, normalized size = 2.42 \begin {gather*} \left [\frac {3 \, {\left (b x - a\right )} \sqrt {\frac {a}{b}} \log \left (\frac {b x - 2 \, b \sqrt {x} \sqrt {\frac {a}{b}} + a}{b x - a}\right ) + 2 \, {\left (2 \, b x - 3 \, a\right )} \sqrt {x}}{2 \, {\left (b^{3} x - a b^{2}\right )}}, \frac {3 \, {\left (b x - a\right )} \sqrt {-\frac {a}{b}} \arctan \left (\frac {b \sqrt {x} \sqrt {-\frac {a}{b}}}{a}\right ) + {\left (2 \, b x - 3 \, a\right )} \sqrt {x}}{b^{3} x - a b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.98, size = 51, normalized size = 0.89 \begin {gather*} \frac {3 \, a \arctan \left (\frac {b \sqrt {x}}{\sqrt {-a b}}\right )}{\sqrt {-a b} b^{2}} - \frac {a \sqrt {x}}{{\left (b x - a\right )} b^{2}} + \frac {2 \, \sqrt {x}}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 49, normalized size = 0.86 \begin {gather*} \frac {2 \left (-\frac {3 \arctanh \left (\frac {b \sqrt {x}}{\sqrt {a b}}\right )}{2 \sqrt {a b}}-\frac {\sqrt {x}}{2 \left (b x -a \right )}\right ) a}{b^{2}}+\frac {2 \sqrt {x}}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.92, size = 68, normalized size = 1.19 \begin {gather*} -\frac {a \sqrt {x}}{b^{3} x - a b^{2}} + \frac {3 \, a \log \left (\frac {b \sqrt {x} - \sqrt {a b}}{b \sqrt {x} + \sqrt {a b}}\right )}{2 \, \sqrt {a b} b^{2}} + \frac {2 \, \sqrt {x}}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 47, normalized size = 0.82 \begin {gather*} \frac {2\,\sqrt {x}}{b^2}+\frac {a\,\sqrt {x}}{a\,b^2-b^3\,x}-\frac {3\,\sqrt {a}\,\mathrm {atanh}\left (\frac {\sqrt {b}\,\sqrt {x}}{\sqrt {a}}\right )}{b^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 9.13, size = 381, normalized size = 6.68 \begin {gather*} \begin {cases} \tilde {\infty } \sqrt {x} & \text {for}\: a = 0 \wedge b = 0 \\\frac {2 x^{\frac {5}{2}}}{5 a^{2}} & \text {for}\: b = 0 \\\frac {2 \sqrt {x}}{b^{2}} & \text {for}\: a = 0 \\- \frac {6 a^{\frac {3}{2}} b \sqrt {x} \sqrt {\frac {1}{b}}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} + \frac {4 \sqrt {a} b^{2} x^{\frac {3}{2}} \sqrt {\frac {1}{b}}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} - \frac {3 a^{2} \log {\left (- \sqrt {a} \sqrt {\frac {1}{b}} + \sqrt {x} \right )}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} + \frac {3 a^{2} \log {\left (\sqrt {a} \sqrt {\frac {1}{b}} + \sqrt {x} \right )}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} + \frac {3 a b x \log {\left (- \sqrt {a} \sqrt {\frac {1}{b}} + \sqrt {x} \right )}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} - \frac {3 a b x \log {\left (\sqrt {a} \sqrt {\frac {1}{b}} + \sqrt {x} \right )}}{- 2 a^{\frac {3}{2}} b^{3} \sqrt {\frac {1}{b}} + 2 \sqrt {a} b^{4} x \sqrt {\frac {1}{b}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________